home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Applications 1999 May / SGI IRIX 6.5 Applications 1999 May.iso / dist / arraysvcs.idb / usr / lib / array / arrayd.conf.z / arrayd.conf
Text File  |  1998-10-27  |  3KB  |  89 lines

  1. #
  2. # Sample array services daemon (arrayd) configuration file
  3. #
  4.  
  5. #
  6. # These are definitions of the array(s) accessible from this system. Each
  7. # array definition consists of an "array" statement which specifies the
  8. # name used to refer to the array as a whole, and one or more "machine"
  9. # statements, which specify the hostname of a single machine in that array.
  10. #
  11. array me            
  12.     machine localhost    
  13.  
  14.  
  15. #
  16. # These are commands that can be invoked on the local system by other
  17. # systems in the array. Each consists of a "command" statement that
  18. # specifies the name of the command, one or more "invoke" statements which
  19. # specify a single command to be executed by the local machine, and
  20. # possibly other modifier statements which are described in the man pages.
  21. #
  22. command kill        # Kill all processes with given ASH
  23.     invoke  /usr/lib/array/asig kill %PIDS(%1)
  24.     user    %USER
  25.     group   %GROUP
  26.  
  27. command suspend        # Stop all processes with given ASH
  28.     invoke  /usr/lib/array/asig suspend %PIDS(%1)
  29.     user    %USER
  30.     group    %GROUP
  31.  
  32. command resume        # Resume all processes with given ASH
  33.     invoke    /usr/lib/array/asig resume %PIDS(%1)
  34.     user    %USER
  35.     group    %GROUP
  36.  
  37. command who        # Display all users in array
  38.     invoke /usr/lib/array/awho local %LOCAL
  39.     merge  /usr/lib/array/awho merge %OUTFILES
  40.  
  41. command ps        # Display all processes in array
  42.     invoke /usr/lib/array/aps local %LOCAL %ALLARGS
  43.     merge  /usr/lib/array/aps merge %OUTFILES
  44.  
  45. command uptime        # Display uptime/load of all nodes in array
  46.     invoke /usr/lib/array/auptime %LOCAL
  47.  
  48. command top        # Display the top few users in the array
  49.     invoke /usr/lib/array/atopm local %LOCAL
  50.     merge  /usr/lib/array/atopm merge %OUTFILES
  51.  
  52. command signal        # Send arbitrary signal to all procs with given ASH
  53.     invoke    /usr/lib/array/asig %1 %PIDS(%2)
  54.     user    %USER
  55.     group    %GROUP
  56.  
  57. #
  58. # These are commands used by other standard applications that are
  59. # part of the Array software. These should not be changed if possible.
  60. # THESE COMMANDS ARE NOT INTENDED TO BE USED INTERACTIVELY.
  61. #
  62. command viewh                # Helper command for aview
  63.     invoke /usr/lib/array/aviewh %ALLARGS
  64.  
  65. command launch                # Helper command for aview
  66.     invoke /usr/lib/array/alaunch %ORIGIN %ALLARGS
  67.     user    %USER
  68.     group   %GROUP
  69.     project %PROJECT
  70.     options LOCAL NOWAIT
  71.  
  72. command array_cpr_helper        # Helper command for cpr
  73.     invoke /usr/lib/array/acpr %REALUSER %REALGROUP %ALLARGS
  74.     user    %USER
  75.     group    %GROUP
  76.     project %PROJECT
  77.  
  78.  
  79. #
  80. # These are settings that are local to this system, such as the default
  81. # target array.
  82. #
  83. local
  84.     user  guest
  85.     group guest
  86.     port  5434
  87.     options setmachid    # Tell kernel to generate global ASHs
  88.     destination array me    
  89.